package com.start_eternity.oasissafewalk.pojo;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.time.LocalDateTime;
import java.util.List;

/**
 * author:ZhangT
 * Date:2024 / 03 / 13 / 11:17
 * Description:
 */
@Data
public class Parent {

    @TableId(type = IdType.AUTO)
    @JsonProperty("pId")
    private Integer pId;

    @JsonProperty("pName")
    private String pName;

    @JsonProperty("pAge")
    private Integer pAge;

    @JsonProperty("pGender")
    private Integer pGender;

    @JsonProperty("pPhone")
    private String pPhone;

    @JsonProperty("pAddress")
    private String pAddress;

    private String email;

    private List<ParentStudent> parentStudentList;

    //添加openid字段
    private String openId;
}
